<%@ page contentType="text/html; charset=UTF-8" %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/tld/extend.tld" prefix="extend"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
	<head>
		<title>乐盈培训网 - <c:out value="${course.courseTitle}"/></title>
		<link href="<extend:contextPath name="contextPath"/>/css/style.css" rel="stylesheet" type="text/css" />
		<script language="JavaScript" src="<extend:contextPath name="contextPath"/>/scripts/common.js"></script>
		<script language="JavaScript" src="<extend:contextPath name="contextPath"/>/scripts/jquery.js"></script>
	</head>
	
	<body>
	<div style="position:absolute; height:100%; width:1045px;">
														
		<jsp:include page="header.jsp"></jsp:include>
							
		<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:12px;">
			<tr>
				<td height="25px">
					您现在的位置：<a href="<extend:contextPath name="contextPath"/>" class="normal_link">首页</a> >> 
					培训课程 >> 课程列表
				</td>
			</tr>
		</table>
		
		<div id="courseDetail" style="width:740px; margin-top:5px; border: #D9D9D9 1px solid; float:left; padding:0;">
				
			<div style="margin:0px; background:#1881BD; height:30px; width:740px; font-size:20px; color:#FFFFFF; font-weight:bold; line-height:30px;">
				<c:out value="${course.courseTitle}"/>
			</div>
				
			<table style="width:100%; margin-top:10px; margin-left:10px; font-size:14px;" cellpadding="0" cellspacing="0">
				<tr>
					<td width="12%" height="25px">【时间地点】</td>
					<td width="85%"><c:out value="${course.courseStartTimeAsStr}"/> &nbsp;&nbsp;&nbsp;
						<c:out value="${course.courseCity}"/>
						<c:if test="${loginName != null}">
							<c:if test="${hasCollected == 'false'}">
								<span style="float:right; margin-right:50px;" id="subscribe">
									【<a href="#" class="normal_link" style="color:red;" onclick="subscribeCourse(
												'<extend:contextPath name="contextPath"/>',  '<c:out value="${course.courseId}"/>');">收藏该课程</a>】
								</span>
							</c:if>
							<c:if test="${hasCollected == 'true'}">
								<span style="float:right; margin-right:50px; color:#1E50A2">
									【该课程已收藏】
								</span>
							</c:if>
						</c:if>
					</td>
				</tr>
				<tr>
					<td width="12%" height="25px">【参加对象】</td>
					<td width="85%">企、事业单位董事长、总经理、人力资源总监、人力资源经理等</td>
				</tr>
				<tr>
					<td width="12%" height="25px">【主办单位】</td>
					<td width="85%">企业学习网</td>
				</tr>
				<tr>
					<td width="12%" height="25px">【咨询电话】</td>
					<td width="85%"><c:out value="${course.courseTelphone}"/></td>
				</tr>
				<tr>
					<td width="12%" height="25px">【联 系&nbsp; 人】</td>
					<td width="85%"><c:out value="${course.courseContact}"/></td>
				</tr>
				<tr>
					<td width="12%" height="25px">【类　　别】</td>
					<td width="85%"><c:out value="${course.courseCategory}"/></td>
				</tr>
				<tr>
					<td width="12%" height="25px">【课程全称】</td>
					<td width="85%"><c:out value="${course.courseTitle}"/>(<c:out value="${teacherName}"/>)</td>
				</tr>
			</table>
			
			<div style="border-top:1px solid #D9D9D9; margin-top:5px; margin-left:10px; width:720px; ">
			</div>
			
			<div class="course_title">
				&gt;&gt;&nbsp;培训对象
			</div>
			<div class="course_content">
				市场总监、市场分析人员、销售主管、销售总监及其他对营销数据分析有兴趣的人士 
			</div>
			<div class="course_title">
				&gt;&gt;&nbsp;收费标准
			</div>
			<div class="course_content" style="color:red;">
				<bean:write name="course" property="coursePrice"/>元/人 
			</div>
			<div class="course_title">
				&gt;&gt;&nbsp;课程背景
			</div>
			<div class="course_content">
				&nbsp;<bean:write name="course" property="courseBackground" filter="false"/> 
			</div>
			<div class="course_title">
				&gt;&gt;&nbsp;课程大纲
			</div>
			<div class="course_content">
				<bean:write name="course" property="courseMainPoint" filter="false"/> 
			</div>
			
			<div style="border-top:1px solid #D9D9D9; margin-top:5px; margin-left:10px; width:720px; ">
			</div>
			<div class="course_title">
				&gt;&gt;&nbsp;联系方式
			</div>
			<div class="course_content">
				课程名称：<c:out value="${course.courseTitle}" /> <br/>
				报名热线：400-668-8321 (欢迎来电咨询或报名) <br/>
				联 系 人：<c:out value="${course.courseContact}" /> <br/>
				电子邮箱：qiyexuexi@qq.com <br/>
				QQ 咨 询：396000555  <br/>
			</div>
		</div>
		
		<div class="course_det_hot_course">
			<table cellpadding="0" cellspacing="0" style="padding-top:0px;">
				<tr>
					<td height="28" align="left" style="padding-left:8px; font-size:13px;">
							<font style="size:12px; color:E56213"><b>热门培训课程</b></font>
					</td>
				</tr>							
				<tr>
					<td>
						<ul style="font-size:13px;margin:0px; padding:5px 0px 0px 8px; list-style:none outside none">
							<c:forEach items="${hotCourse}" var="item">
								<li style="height:21px;">·
									<a class="normal_link" target="_blank" 
										href="<extend:contextPath name='contextPath'/>/course/viewCourseDetail.do?method=viewCourseDetail&courseId=<c:out value="${item.courseId}"/>">
										<c:out value="${item.courseTitle}"/>
									</a>
								</li>											
							</c:forEach>																												
						</ul>
					</td>
				</tr>												
			</table>
		</div>
			
	</div>
	
	</body>		
</html>